package com.github.thinwonton.springboot.showcase.mybatis;

import com.github.thinwonton.springboot.showcase.mybatis.config.FullyQualifiedAnnotationBeanNameGenerator;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Controller;

@Controller
@SpringBootApplication
//@ComponentScan(nameGenerator = FullyQualifiedAnnotationBeanNameGenerator.class)
public class MybatisApplication {
    public static void main(String[] args) {
        SpringApplication.run(MybatisApplication.class, args);
    }
}
